/*global fusionredux_change, fusionredux*/ (function( $ ) { "use strict"; fusionredux.field_objects = fusionredux.field_objects || {}; fusionredux.field_objects.options_object = fusionredux.field_objects.options_object || {}; // $( document ).ready( // function() { // fusionredux.field_objects.import_export.init(); // } // ); fusionredux.field_objects.options_object.init = function( selector ) { if ( !selector ) { selector = $( document ).find( '.fusionredux-container-options_object' ); } var parent = selector; if ( !selector.hasClass( 'fusionredux-field-container' ) ) { parent = selector.parents( '.fusionredux-field-container:first' ); } if ( parent.hasClass( 'fusionredux-field-init' ) ) { parent.removeClass( 'fusionredux-field-init' ); } else { return; } $( '#consolePrintObject' ).on( 'click', function( e ) { e.preventDefault(); console.log( JSON.parse( $( "#fusionredux-object-json" ).html() ) ); } ); if ( typeof jsonView === 'function' ) { jsonView( '#fusionredux-object-json', '#fusionredux-object-browser' ); } }; })( jQuery ); {"code":"rest_no_route","message":"Aucune route correspondante \u00e0 l\u2019URL et \u00e0 la m\u00e9thode de requ\u00eate n\u2019a \u00e9t\u00e9 trouv\u00e9e.","data":{"status":404}}